
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %> 
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

  <head>
    <base href="<%=basePath%>" />
    
    <title>行业新闻</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    

	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

   <script type="text/javascript">
function check_form(f1){
  if(f1.title.value.length==0){
	  alert("不能为空"); 
	  return false;
  }return true;
}
</script>
  </head>
  
  <body>
<c:if test="${!empty message}">
  	<script type="text/javascript">
  		var msg="${message}";
  		alert(msg);
  	</script>
  	<c:remove var="message"/>
  </c:if>
 <form  method="post" action="<c:url value='/admin.do?method=addItem'/>" name="f1" onSubmit="return check_form(f1)">
<div style="margin-top:20px; margin-left:30px; width:600px; height:35px;">项目名称：<input type="text" style="width:120px; height:20px;" value="" name="title" id="title"/></div><br/>
    
   
   <div style="margin-top:20px; margin-left:30px; width:600px; height:35px; background:#eae7e8"> 
    
     
       <input type="submit" name="yulan" class="subtn" value="添加"  />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       <input type="reset" name="tijiao" class="subtn" value="重置"  />
       </div>
  </form>   
  </body>
</html>
